/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chapterTwo;

/**
 *
 * @author Saurabh
 */
public class HelloWorld {
    private static final String GREETING = "Hello ";
    public String execute(){
        setCustomGreeting(GREETING + getName());
        return "SUCCESS";
    }
    private String name;
    private String customGreeting;
    
    public String getName(){
        return name;
    }
    
    public void setName(String name){
        this.name   = name;
    }
    public String getCustomGreeting(){
        return customGreeting;
    }
    public void setCustomGreeting(String customGreeting){
        this.customGreeting = customGreeting;
    }
}
